package template;

interface Payable<T>{}
class Employee implements Payable<Employee> {}
//class Horyly extends Employee implements Payable<Horyly>{} //Hourly不能被编译，上面的代码就意味着重复两次实现相同的接口
class Employee2 implements Payable {}
class Horyly extends Employee2 implements Payable{} //
public class MultipleInterfaceVariants {

}
